﻿@model CollegeApp.Web.Models.CollegeIndexVM

<div class="container">
    <div class="row">

        <div class="col-sm-4">
            <img class="img-responsive" src="@Model.College.Image" />
        </div>
        <div class="col-sm-8">
            <h1>@Model.College.Name</h1>
        </div>

    </div>
    <button class="btn btn-primary pull-right" onclick="location.href='/Home/AddReview/@Model.College.Id'">Add Review</button>
    <button class="btn btn-default pull-right" onclick="location.href='/Home/UpdateCollege/@Model.College.Id">Update College</button>
    <form method="post" action="/Home/DeleteMovie">
        <input type="hidden" name="id" value="@Model.College.Id" />
        <input class="btn btn-danger pull-right" type="submit" value="Delete College" />
    </form>
    <div class="row">
        <table class="table table-hover">
            <tr>
                <th></th>
            </tr>
        </table>
    </div>
</div>



